﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
using System.Web.WebPages;

namespace Sunboxsoft.Web.Mvc
{
    public class SSController : Controller
    {
        public ViewResult SSView()
        {
            return View(RouteData.Values["action"].ToString(), "~/Views/Shared/_layout_admin_dynamic.cshtml");
        }

        public ViewResult SSView(object model)
        {
            return View(RouteData.Values["action"].ToString(), "~/Views/Shared/_layout_admin_dynamic.cshtml", model);
        }

        public ViewResult SSView(string viewName)
        {
            return View(viewName, "~/Views/Shared/_layout_admin_dynamic.cshtml");
        }
    }
}
